Current Location: Home> Function Categories> acos

acos

Reverse cosine
Name:acos
Category:math
Programming Language:php
One-line Description:Reverse cosine.

Definition and usage

acos() function returns the inverse cosine of a number.

Example

In this case, we will calculate the inverse cosine of different values:

 <?php
echo ( acos ( 0.64 ) ) ;
echo ( acos ( 0 ) ) ;
echo ( acos ( - 1 ) ) ;
echo ( acos ( 1 ) ) ;
echo ( acos ( 2 ) ) ;
?>

Try it yourself

Similar Functions
  • Convert decimal to binary decbin

    decbin

    Convertdecimaltobina
  • Returns the remainder of the floating point number of division fmod

    fmod

    Returnstheremaindero
  • Hyperbolic tangent tanh

    tanh

    Hyperbolictangent
  • Sow the random number generator seeds srand

    srand

    Sowtherandomnumberge
  • Absolute value abs

    abs

    Absolutevalue
  • Sow a better random number generator seed mt_srand

    mt_srand

    Sowabetterrandomnumb
  • Perform floating point division under IEEE 754 semantics fdiv

    fdiv

    Performfloatingpoint
  • Determine whether it is a finite value is_finite

    is_finite

    Determinewhetheritis
Popular Articles